#include <iostream>
using namespace std;
class CRectangle 
{
	int w, h;
public:
	void setValues (int a, int b);
	int area ();
};
void CRectangle::setValues (int a, int b)
{
	w=a;
	h=b;
}
int CRectangle::area()
{
	return (w*h);
}
int main()
{
	CRectangle recta;
	CRectangle *rectb;
	rectb=&recta;
	cout <<"area:"<<recta.area();
	cout<<"area:"<<rectb->area();
	return 0;
}